package com.democxy.modules.cms.service;

import org.springframework.stereotype.Service;

import com.democxy.common.baseData.BaseService;
import com.democxy.modules.cms.dao.BlogsDao;
import com.democxy.modules.cms.entity.Blogs;

/**
 * 博客信息Service
 * @author democxy
 * @version V1.0
 */
@Service
public class BlogsService extends BaseService<BlogsDao, Blogs> {

	public Blogs getNext(String id) {
		return dao.getNext(id);
	};
	
	public Blogs getLast(String id) {
		return dao.getLast(id);
	};

	public void updateLookNum(Blogs blogs){
		dao.updateLookNum(blogs);
	}
}